home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 26.zip / BS1 part 26 / Aztec C v5.2a disk 4.adf / 204inc_h.lzh / graphics / display.h < prev    next >
C/C++ Source or Header  |  1991-03-14  |  1KB  |  43 lines

  1. #ifndef    GRAPHICS_DISPLAY_H
  2. #define    GRAPHICS_DISPLAY_H
  3. /*
  4. **    $Filename: graphics/display.h $
  5. **    $Release: 2.04 $
  6. **    $Revision: 37.0 $
  7. **    $Date: 91/01/07 $
  8. **
  9. **    include define file for display control registers
  10. **
  11. **    (C) Copyright 1985,1986,1987,1988,1989 Commodore-Amiga, Inc.
  12. **        All Rights Reserved
  13. */
  14.  
  15. /* bplcon0 defines */
  16. #define MODE_640    0x8000
  17. #define PLNCNTMSK   0x7        /* how many bit planes? */
  18.                     /* 0 = none, 1->6 = 1->6, 7 = reserved */
  19. #define PLNCNTSHFT  12            /* bits to shift for bplcon0 */
  20. #define PF2PRI        0x40        /* bplcon2 bit */
  21. #define COLORON     0x0200        /* disable color burst */
  22. #define DBLPF        0x400
  23. #define HOLDNMODIFY 0x800
  24. #define INTERLACE   4            /* interlace mode for 400 */
  25.  
  26. /* bplcon1 defines */
  27. #define PFA_FINE_SCROLL       0xF
  28. #define PFB_FINE_SCROLL_SHIFT 4
  29. #define PF_FINE_SCROLL_MASK   0xF
  30.  
  31. /* display window start and stop defines */
  32. #define DIW_HORIZ_POS    0x7F       /* horizontal start/stop */
  33. #define DIW_VRTCL_POS    0x1FF       /* vertical start/stop */
  34. #define DIW_VRTCL_POS_SHIFT 7
  35.  
  36. /* Data fetch start/stop horizontal position */
  37. #define DFTCH_MASK    0xFF
  38.  
  39. /* vposr bits */
  40. #define VPOSRLOF    0x8000
  41.  
  42. #endif    /* GRAPHICS_DISPLAY_H */
  43.